<?php

namespace app\admin\model;

use think\Model;

class Sitecategory extends Model
{
    //
    protected $table = 'site_nodes';
    protected $autoWriteTimestamp = 'datetime';

    protected $dateFormat = 'Y-m-d H:i:s';

    protected $createTime = 'created_at';
    protected $updateTime = 'updated_at';

    public function sites()
    {
        return $this->hasMany('Site');
    }


}
